package com.tong.ipprint.config.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: tong
 * @Date: 2024/07/28/17:17
 * @Description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "ip")
public class IpPrintProperties {
    private String display=Display.SIMPLE.value;
    @Getter
    @AllArgsConstructor
    public enum Display{
        SIMPLE("simple"),
        DETAILS("details");
        private String value;
    }
}
